package saa.model.usuario;

import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToOne;

import saa.model.Curso;

@Entity
@NamedQueries({
		@NamedQuery(name = "Coordenador.findById", query = "SELECT c FROM Coordenador c WHERE c.id = :id"),
		@NamedQuery(name = "Coordenador.findAll", query = "SELECT c FROM Coordenador c"),
		@NamedQuery(name = "Coordenador.findByLogin", query = "SELECT c FROM Coordenador c WHERE c.login = :login"), })
public class Coordenador extends Usuario {

	private static final long serialVersionUID = 1L;

	@OneToOne
	Curso curso;

	public Coordenador() {
		super();
	}

}
